package com.example.sys.address.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseTreePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "地址信息")
@TableName(value = "sys_address")
public class SysAddress extends BaseTreePo<SysAddress> {

    @ApiModelProperty(value = "名称")
    @TableField(value = "label")
    private String label;

    @ApiModelProperty(value = "父节点id")
    @TableField(value = "pid")
    private String pid;

    @ApiModelProperty(value = "全路径")
    @TableField(value = "path")
    private String path;
}
